<script>
	function loadPartItemInfo() {
		var val = document.getElementById('model.partItem.id').value;
		var url = '${fn.link('/espirit/eap/manager/partItem.view')}?model.id=' + val + '&_resultCode=$json&properties=id,brand.name,quanlityGrade.name,pack';
		$.ajax({
			url:url,
			dataType:'json',
			success:function(data) {
				$('#brandId').html(data.brand.name);
				$('#quanlityGradeId').html(data.quanlityGrade.name);
				$('#packId').html(data.pack);
			}
		});
	}
</script>
